home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / PROTO212.ARJ / SOURCE1.C < prev    next >
C/C++ Source or Header  |  1991-03-23  |  456b  |  27 lines

  1. #include <stdio.h>
  2. #include "header.h"
  3. /*
  4.     Initialise subsystem XSYS.
  5.     This function is called once.
  6.     bla bla bla.
  7.  
  8.     Return -1 if not successfull
  9. */
  10. int xsys_init (
  11.     int memsize)        /* Amount of memory allocated to xsys */
  12. {
  13.     ...
  14. }
  15.  
  16. /*
  17.     Terminate use of subsystem XSYS.
  18.  
  19.     This function frees all buffers and completes any pending operation.
  20.     After it has been called, xsys_init may be call again.
  21. */
  22. void xsys_end (void)
  23. {
  24.     ....
  25. }
  26.  
  27.